home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / sdk / man / cat5 / core.0 < prev    next >
Encoding:
Text File  |  1998-06-15  |  2.1 KB  |  40 lines

  1.  
  2. CORE(5)                    UNIX Programmer's Manual                    CORE(5)
  3.  
  4. NNAAMMEE
  5.      ccoorree - memory image file format
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssyyss//ppaarraamm..hh>>
  9.  
  10. DDEESSCCRRIIPPTTIIOONN
  11.      A small number of signals which cause abnormal termination of a process
  12.      also cause a record of the process's in-core state to be written to disk
  13.      for later examination by one of the available debuggers.  (See
  14.      sigaction(2).)  This memory image is written to a file named
  15.      pprrooggrraammnnaammee..ccoorree in the working directory; provided the terminated pro-
  16.      cess had write permission in the directory, and provided the abnormality
  17.      did not cause a system crash.  (In this event, the decision to save the
  18.      core file is arbitrary, see savecore(8).)
  19.  
  20.      The maximum size of a pprrooggrraammnnaammee..ccoorree file is limited by setrlimit(2).
  21.      Files which would be larger than the limit are not created.
  22.  
  23.      The pprrooggrraammnnaammee..ccoorree file consists of the _u. area, whose size (in pages)
  24.      is defined by the UPAGES manifest in the <_s_y_s_/_p_a_r_a_m_._h> file.  The _u. area
  25.      starts with a _u_s_e_r structure as given in <_s_y_s_/_u_s_e_r_._h>. The remainder of
  26.      the pprrooggrraammnnaammee..ccoorree file consists of the data pages followed by the
  27.      stack pages of the process image.  The amount of data space image in the
  28.      pprrooggrraammnnaammee..ccoorree file is given (in pages) by the variable _u___d_s_i_z_e in the
  29.      _u. area.  The amount of stack image in the core file is given (in pages)
  30.      by the variable _u___s_s_i_z_e in the _u. area.  The size of a ``page'' is given
  31.      by the constant NBPG (also from <_s_y_s_/_p_a_r_a_m_._h>).
  32.  
  33. SSEEEE AALLSSOO
  34.      adb(1),  dbx(1),  gdb(1),  kgdb(1),  sigaction(2),  setrlimit(2)
  35.  
  36. HHIISSTTOORRYY
  37.      A ccoorree file format appeared in Version 6 AT&T UNIX.
  38.  
  39. 4th Berkeley Distribution      December 11, 1993                             1
  40.